import request from '@/utils/request'

// 查询归集列表
export function listCollectAddress(query) {
  return request({
    url: '/aipay/collectAddress/list',
    method: 'get',
    params: query
  })
}

// 查询地址余额列表
export function listAddressBalance(query) {
  return request({
    url: '/aipay/addressBalance/list',
    method: 'get',
    params: query
  })
}

// 查询充币列表
export function listDeposit(query) {
  return request({
    url: '/aipay/deposit/list',
    method: 'get',
    params: query
  })
}

// 查询提币列表
export function listWithdraw(query) {
  return request({
    url: '/aipay/withdraw/list',
    method: 'get',
    params: query
  })
}

//归集
export function collect(data) {
  return request({
    url: '/aipay/addressBalance/collect',
    method: 'post',
    data: data
  })
}
